package com.chang.dp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("notice")
public class NoticeEntity extends BaseEntity {
    @TableId(type= IdType.AUTO)
    public Integer id;
    public String content;
    public String createTime;
    public String creator_id;
    public String audit_id;
    public String auditReason;
    @ApiModelProperty(value = "图片，中间用逗号间隔")
    public String banner;
    public String auditTime;
    public String title;
    @ApiModelProperty(value = "状态", notes = "1 待审核 | 2 审核通过 | 3 审核不通过")
    public Integer status;
}
